<%--
  Created by IntelliJ IDEA.
  User: 16650
  Date: 2022/10/22
  Time: 13:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>报名管理系统</title>
    <link href="./css/form.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="./js/jquery.js"></script>
    <script src="./js/check.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $(".click").click(function(){
                $(".tip").fadeIn(200);


            });

            $(".tiptop a").click(function(){
                $(".tip").fadeOut(200);
            });

            $(".sure").click(function(){
                $(".tip").fadeOut(100);
            });

            $(".cancel").click(function(){
                $(".tip").fadeOut(100);
            });

        });
        function deleteStu(stuId){
            if(window.confirm("确定要删除这条无协的报名信息吗")) {

                location.href="/stuServlet?type=delete&id="+stuId;
            }
        }
    </script>


</head>


<body>



<div class="rightinfo">
    <form action="/teamServlet" method="post">
        <div style="height: 22px">

            筛选：校区
            <select name="type">
                <option value="queryAll">全部</option>
                <option value="queryWuShan">五山</option>
                <option value="queryGuoJi">国际</option>
                <option value="queryDaXueCheng">大学城</option>
            </select>
            <input type="submit" value="确定" />
        </div>
    </form>

    <table class="tablelist">
        <thead>
        <tr>
            <th style="width: 30px" > </th>
            <th style="width: 80px" >队名</th>
            <th style="width: 40px" >选题</th>
            <th style="width: 60px" >方案</th>
            <th style="width: 60px">校区</th>
            <th style="width: 60px">队长</th>
            <th style="width: 60px">队员1</th>
            <th style="width: 60px">队员2</th>
            <th style="width: 70px">学院班级(队长)</th>
            <th style="width: 90px">电话</th>

        </tr>
        </thead>
        <tbody>
        <c:forEach items = "${requestScope.list}" var="team">
            <tr>
                <td>${team.teamCount}</td>
                <td>${team.teamName}</td>
                <td>${team.teamTitle}</td>
                <td>${team.teamChoice}</td>
                <td>${team.teamArea}</td>
                <td>${team.stu1Name}</td>
                <td>${team.stu2Name}</td>
                <td>${team.stu3Name}</td>
                <td>${team.stu1Class}</td>
                <td>${team.stu1Phone}</td>
            </tr>
        </c:forEach>

        </tbody>
    </table>





    <div class="tip">
        <div class="tiptop"><span>提示信息</span><a></a></div>

        <div class="tipinfo">
            <span><img src="images/ticon.png" /></span>
            <div class="tipright">
                <p>是否确认对信息的修改 ？</p>
                <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
            </div>
        </div>

        <div class="tipbtn">
            <input name="" type="button"  class="sure" value="确定" />&nbsp;
            <input name="" type="button"  class="cancel" value="取消" />
        </div>

    </div>




</div>

<script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
</script>

<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
</html>
